package com.dao.predictableobject;

import org.apache.log4j.Logger;

public class Variable {

	private final static Logger LOGGER = Logger
			.getLogger(PredictableObject.class.getName());
	private int objId;
	private int variableId;
	private String variableName;
	private String variableUnit;
	private String variableDescritpion;

	protected Variable() {
	};

	Variable(int objId, int variableId, String variableName, String variableUnit,
			String variableDescritpion) {
		LOGGER.trace("constructor: Variable(" + variableId + "," + variableName
				+ "," + variableUnit + "," + variableDescritpion + ")");
		this.objId=objId;
		this.variableId = variableId;
		this.variableName = variableName;
		this.variableUnit = variableUnit;
		this.variableDescritpion = variableDescritpion;
	}

	public int getVariableId() {
		LOGGER.trace("method: getVariableMap() ");
		return variableId;
	}

	public String getVariableName() {
		LOGGER.trace("method: getVariableName() ");
		return variableName;
	}

	public String getVariableUnit() {
		LOGGER.trace("method: getVariableUnit() ");
		return variableUnit;
	}

	public String getVariableDescritpion() {
		LOGGER.trace("method: getVariableDescription() ");
		return variableDescritpion;
	}

	public int getObjId() {
		return objId;
	}

}